package com.zhoux.basics;

/**
 * @author taoyi
 * @version 1.0
 * @date 2021/3/3 14:31
 */
public class WhileDemo {
    public static void main(String[] args) {
        int i=5;
        while (i>0){
            System.out.println(" 让我留在你身旁！");
            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            i--;
        }
    }
}

